// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.

namespace Stride.Core.Assets;

/// <summary>
/// Common class used by <see cref="PackageDependency"/>.
/// </summary>
[DataContract("PackageReferenceBase")]
public abstract class PackageReferenceBase
{
    /// <summary>
    /// Asset references that needs to be compiled even if not directly or indirectly referenced (useful for explicit code references).
    /// </summary>
    [DataMember(100)]
    public RootAssetCollection RootAssets { get; private set; } = [];
}
